package cc.taofoo.Design.BuilderModel;

import cc.taofoo.Design.BuilderModel.Compement.*;

public class LaptopBuilder extends ComputerBuilder{

    public LaptopBuilder() {
        computer.setType("笔记本");
    }

    @Override
    void buildCPU() {
        computer.setCpu(new CPU("Intel i7"));
    }

    @Override
    void buildMonitor() {
        computer.setMonitor(new Monitor("Lenovo 1702"));
    }

    @Override
    void buildMemory() {
        computer.setMemory(new Memory("长鑫"));
    }

    @Override
    void buildMainBoard() {
        computer.setMainBoard(new MainBoard("GigaBytes"));
    }

    @Override
    void buildDisk() {
        computer.setDisk(new Disk("WD"));
    }


}
